pull: add mirrorlist support
authorJonathan Lebon <jlebon@redhat.com>
Tue, 23 Aug 2016 19:55:15 +0000 (15:55 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 31 Aug 2016 16:52:12 +0000 (16:52 +0000)
commit157d878ce1a500a2b96d079e2259dbdc30419342
tree2bd39fa1a628a7c20614e42cf8cce7ded3600546
parent9546b93382fc5a07ec0f753f66497992f514fd09
pull: add mirrorlist support

This commit adds mirrorlist support to the fetcher. Users can now
prepend url or/and contenturl by mirrorlist= to interpret the link as a
mirrorlist.

If an object is not found, the fetcher will automatically try the next
mirror in the order given in the list (assuming the order returned by
the server is significant).

Closes: #469
Approved by: cgwalters
src/libostree/ostree-fetcher.c
src/libostree/ostree-fetcher.h
src/libostree/ostree-repo-pull.c
src/ostree/ot-remote-builtin-add.c